package com.blb.dao;

import com.blb.dto.ZGift;
import com.blb.dto.ZGiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ZGiftMapper {
    long countByExample(ZGiftExample example);

    int deleteByExample(ZGiftExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(ZGift record);

    int insertSelective(ZGift record);

    List<ZGift> selectByExample(ZGiftExample example);

    ZGift selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") ZGift record, @Param("example") ZGiftExample example);

    int updateByExample(@Param("record") ZGift record, @Param("example") ZGiftExample example);

    int updateByPrimaryKeySelective(ZGift record);

    int updateByPrimaryKey(ZGift record);
}